POV-Ray : Newsgroups : povray.general : Pov 2.2 and Crossroads : Re: Pov 2.2 and Crossroads Server Time
3 Aug 2024 16:19:05 EDT (-0400)
  Re: Pov 2.2 and Crossroads  
From: Warp
Date: 1 Jan 2004 18:38:41
Message: <3ff4af81@news.povray.org>
nathen watson <nxw### [at] volcanonet> wrote:
> POV 3.5 does has the ability to export triangle meshes to other formats, if
> you write macros to do it.

  I would be surprised if this was so because AFAIK there's no way of
getting information about a mesh in POV-Ray. (I once made a patch for
this purpose, but it kind of died because the tesselation patch which
was the main idea in that patch didn't quite work well.)

  However, you can use eg. the triangle mesh compressor program to
convert a POV-Ray mesh or mesh2 (at least with the new version 3 beta)
to PCM format which is easily readable in POV-Ray, and you can use that
info to export to almost any other (ascii) format with a proper POV-Ray
SDL script.

  (The original idea of the PCM format was that it was much smaller than
the mesh format (mesh2 didn't yet exist back when PCM was developed), but
currently the PCM format is more handy for making pov-scripts which make
all kinds of handy operations to meshes, such as deformations, hair-growing,
subsurface division, exporting to other formats...)

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.